﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.ProductionPlan
{
    public class ProductionSchedulerOutput
    {
        public Guid? Id { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 对应节点Id
        /// </summary>
        public Guid NodeId { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public string LotNo { get; set; }

        /// <summary>
        /// 图号
        /// </summary>
        public string DrawingNo { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProductionName { get; set; }
        /// <summary>
        /// 标准工时
        /// </summary>
        public decimal WorkingHour { get; set; }
        /// <summary>
        /// 绩效工时
        /// </summary>
        public decimal PerformanceHour { get; set; }

        /// <summary>
        /// 工步图号
        /// </summary>
        public string WorkStepDrawingNo { get; set; }
        /// <summary>
        /// 配套状况
        /// </summary>
        public string MatchingCondition { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 计划完成时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 计划状态
        /// </summary>
        public ProductingStatus ProductingStatus { get; set; }
        /// <summary>
        /// 计划状态描述
        /// </summary>
        public string ProductingStatusDesc { get; set; }
        /// <summary>
        /// 装配班组
        /// </summary>
        public string OrganizationUnitId { get; set; }
        /// <summary>
        /// 装配班组描述
        /// </summary>
        public string OrganizationUnitDesc { get; set; }

        /// <summary>
        ///装配人员
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 装配人员描述
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 调度员Id
        /// </summary>
        public long DispatcherId { get; set; }


        /// <summary>
        /// 调度员描述
        /// </summary>
        public string DispatcherName { get; set; }
        /// <summary>
        /// 排配时间
        /// </summary>
        public DateTime ArrangementTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 变化标识（变红）
        /// </summary>
        public string Color { get; set; }
    }
}
